package com.shycloud.mido.music.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * 曲库曲集关系表
 *
 * @author nianhua.jiang
 * @date 2020/5/6 17:35
 */
@Data
@TableName(value = "mis_lib_coll")
public class MisLibColl {
	@TableId(value = "id", type = IdType.AUTO)
	private Integer id;

	/**
	 * 曲库ID
	 */
	@TableField(value = "library_id")
	private Integer libraryId;

	/**
	 * 曲集ID
	 */
	@TableField(value = "conllection_id")
	private Integer conllectionId;

	/**
	 * 创建人
	 */
	@TableField(value = "create_user")
	private String createUser;

	/**
	 * 创建时间
	 */
	@TableField(value = "create_time")
	private Date createTime;

	/**
	 * 更新人
	 */
	@TableField(value = "update_user")
	private String updateUser;

	/**
	 * 更新时间
	 */
	@TableField(value = "update_time")
	private Date updateTime;

	/**
	 * 逻辑删除（0：未删除，1：已删除）
	 */
	@TableField(value = "del_flag")
	private String delFlag;

	public static final String COL_ID = "id";

	public static final String COL_LIBRARY_ID = "library_id";

	public static final String COL_CONLLECTION_ID = "conllection_id";

	public static final String COL_CREATE_USER = "create_user";

	public static final String COL_CREATE_TIME = "create_time";

	public static final String COL_UPDATE_USER = "update_user";

	public static final String COL_UPDATE_TIME = "update_time";

	public static final String COL_DEL_FLAG = "del_flag";
}